﻿using System;
using System.Collections.Generic;
using System.Text;
using YouHP.Model;
using YouHP.BLL;

namespace YouHP.Pages.Admin
{
    public class TreatmentAdmin : YouHP.Pages.BasePage
    {

        protected static List<string> mPingYin = new List<string>();

        static TreatmentAdmin()
        {
            for (char c = 'A'; c <= 'Z'; c++)
            {
                mPingYin.Add(c.ToString());
            }
        }


        protected List<TreatmentInfo> mTreamentLst;
        protected List<TreamentTypeInfo> mTreamentTypeLst;
        protected int mPageCount = 0;
        protected int mTreamentCount = 0;
        protected int mPageSize = 20;
        protected int mPageIndex = 2;



        protected override void ShowPage()
        {
            mSeoTitle = "管理";
            mPageTitle = "治疗";
            mTreamentLst = TreatmentBLL.Instance.GetTreatmentList(mPageSize, mPageIndex, "");
            mTreamentCount = TreatmentBLL.Instance.GetTreatmentCount("");
            mPageCount = mTreamentCount / mPageSize;
            if (mTreamentCount % mPageSize == 0) mPageCount++;
            mTreamentTypeLst = TreatmentBLL.Instance.GetTreamentTypeList();

        }


    }
}
